![]() |
![]() |
![]() |
Call to create a planet billboard image at a specified place in the sky.
DC SET PLANET IMAGE planet, image index, angular radius, do lighting
int: planet
Which planet - this can be any integer, if you re-use one the planet will be replaced.
int: image index
Which texture to use.
float: angular radius
Size in steradians.
int: do_lighting
If 1, light the planet from the sun direction, if 0, show the texture as-is.
This command does not return a value.
rem Add the moon load image "Moon.png",11 dc set planet image 1,11,.2 dc set planet direction x 1,0.0 dc set planet direction y 1,0.2 dc set planet direction z 1,1.0
DC SET PLANET DIRECTION
DarkCLOUDS Commands Menu
Index